package com.juku2024.juku.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.juku2024.juku.R;

import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

import java.util.List;


public class HistorySearchAdapter extends BaseQuickAdapter<String, BaseViewHolder> {


    public HistorySearchAdapter(@Nullable List<String> data) {
        super(R.layout.item_search_history, data);
    }

    @Override
    protected void convert(@NotNull BaseViewHolder baseViewHolder, String commonModel) {
          baseViewHolder.setText(R.id.keywords_tv, commonModel);
    }


}
